package com.ruoyi.common.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 * 
 * @author ruoyi
 */
@Component("scf")
@ConfigurationProperties(prefix = "smsconfig")
public class SmsConfig
{
	private int openSMS = 1;// 是否发送短信验证码
	private int isstart = 1;// 发送短信是否启动图形验证码校验
	
	// 阿里云短信服务
	private String product;// 云通信短信API产品,无需替换
	private String domain;// 产品域名,无需替换
	private String accesskeyid;// AK key
	private String accesskeysecret;// AK value
	private String signname;// 短信签名
	private String chinaseTempletecode;// 中文短信模板标识
	private String englishTempletecode;// 英文短信模板标识
	public int getOpenSMS() {
		return openSMS;
	}
	public void setOpenSMS(int openSMS) {
		this.openSMS = openSMS;
	}
	public int getIsstart() {
		return isstart;
	}
	public void setIsstart(int isstart) {
		this.isstart = isstart;
	}
	public String getProduct() {
		return product;
	}
	public void setProduct(String product) {
		this.product = product;
	}
	public String getDomain() {
		return domain;
	}
	public void setDomain(String domain) {
		this.domain = domain;
	}
	public String getAccesskeyid() {
		return accesskeyid;
	}
	public void setAccesskeyid(String accesskeyid) {
		this.accesskeyid = accesskeyid;
	}
	public String getAccesskeysecret() {
		return accesskeysecret;
	}
	public void setAccesskeysecret(String accesskeysecret) {
		this.accesskeysecret = accesskeysecret;
	}
	public String getSignname() {
		return signname;
	}
	public void setSignname(String signname) {
		this.signname = signname;
	}
	public String getChinaseTempletecode() {
		return chinaseTempletecode;
	}
	public void setChinaseTempletecode(String chinaseTempletecode) {
		this.chinaseTempletecode = chinaseTempletecode;
	}
	public String getEnglishTempletecode() {
		return englishTempletecode;
	}
	public void setEnglishTempletecode(String englishTempletecode) {
		this.englishTempletecode = englishTempletecode;
	}
	
}
